package com.hgxd.entity.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author wtf
 * @create 2023-10-31 11:05
 * @description :
 */
@Data
@ApiModel(value = "YOYVo对象",description = "同比接收的类")
@NoArgsConstructor
@AllArgsConstructor
public class YOYVo {

    @ApiModelProperty(value = "需要查询的名字")
    private String name;

    @ApiModelProperty(value = "需要查询的时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime time;

    @ApiModelProperty(value = "类型 1:年 2:月 3:日")
    private Integer type;


}
